﻿using System;
using Dune.Business.Domain.Users;

namespace Dune.Business.Domain.Base
{
    [Serializable]
    public class EntityWithStat<TID> : BaseEntity<TID>, IStat
    {
        protected DateTime _createdate;
        protected DateTime _modifydate;
        protected User _createdBy;
        protected User _modifiedBy;

        public virtual DateTime CreateDate
        {
            get { return _createdate; }
            set { _createdate = value; }
        }

        public virtual DateTime ModifyDate
        {
            get { return _modifydate; }
            set { _modifydate = value; }
        }

        public virtual User CreatedBy
        {
            get { return _createdBy; }
            set { _createdBy = value; }
        }

        public virtual User ModifiedBy
        {
            get { return _modifiedBy; }
            set { _modifiedBy = value; }
        }

    }
}